<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>搜索结果</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        a {
            text-decoration: none;
        }

        ul li {
            list-style: none;
        }

        #meetmenu {
            width: 100%;
            min-width: 1200px;

        }

        #head {
            width: 80%;
            height: 80px;
            background-color: white;
            margin: 0 auto;
            /* background-color: yellow; */
        }

        #logo {
            /* background-color: red; */
            width: 30%;
            height: 80px;
            float: left;
            position: relative;
            left: 10px;
        }

        #headleft {
            width: 50%;
            float: left;
            height: 80px;
            /* background-color: yellow; */
        }

        #headleft1 {
            height: 80px;
            line-height: 80px;
        }

        #textword {
            width: 250px;
            height: 30px;
        }

        #textsearch {
            width: 50px;
            height: 35px;
            border: 1px solid #ccc;
            background: url(images/serach.jpg);
        }

        #headright {
            height: 80px;
            line-height: 80px;
            text-align: center;
        }

        /* 注销按钮 */
        #loginName,
        #unregister {
            display: none;
        }

        #unregister {
            height: 25px;
            width: 50px;
            border: none;
            outline: none;
            border-radius: 5px;
            background: linear-gradient(rgb(160, 191, 124), rgb(101, 147, 74));
            box-shadow: 0 0 3px rgb(64, 116, 52);
            cursor: pointer;
            color: white;
        }

        #bodynav {
            width: 100%;
            height: 60px;
            background-color: rgb(160, 190, 117);
            /* background-color: red; */
        }

        #nav {
            width: 80%;
            height: 60px;
            margin: 0 auto;
            background-color: rgb(160, 190, 117);
            /* background-color:pink; */
        }

        #nav li {
            height: 60px;
            line-height: 60px;
            text-align: center;
            font-size: 20px;
            width: 20%;
            float: left;
        }

        #nav a {
            color: grey;
            font-weight: bold;
        }

        #nav a:hover {
            color: #407434;
            font-weight: bold;
        }

        #choose,
        #updown {
            width: 100%;
            display: none;
        }

        #pep,
        #up {
            list-style: none;
            position: relative;
            left: 25%;
        }

        #pep dd,
        #up dd {
            width: 50%;
            height: 50px;
            line-height: 50px;
            background-color: rgb(230, 230, 230);
            font-size: 14px;
            position: relative;
        }

        #pep dd a,
        #up dd a {
            color: grey;
        }
    </style>
    <script src="js/jquery-3.4.1.min.js"></script>
    <script>
        $(function () {
            $('#secondnav').mouseover(function () {
                $('#choose').css('display', 'block')
            })
            $('#secondnav').mouseout(function () {
                $('#choose').css('display', 'none')
            })
        })
        $(function () {
            $('#down').mouseover(function () {
                $('#updown').css('display', 'block')
            })
            $('#down').mouseout(function () {
                $('#updown').css('display', 'none')
            })
        })
        //导航栏固定
        window.onscroll = function () {
            if (document.documentElement.scrollTop >= 80) {
                document.getElementById('bodynav').style.position = 'fixed';
                document.getElementById('bodynav').style.top = 0;
                document.getElementById('bodynav').style.left = 0;
            }
            else {
                document.getElementById('bodynav').style.position = 'static';
            }
        }
    </script>
    <link href="css/search.css" type="text/css" rel="stylesheet" />
    <script src="js/top2-3pep.js"></script>
</head>

<body>
    <div id="meetmenu">
        <div id="head">
            <div id="logo">
                <img src="images/logo1.jpg" alt="" width="200px" height="80px">
            </div>
            <div id="headleft">
                <div id="headleft1">
                    <form action="#">
                        <input id="textword" type="text"><input id="textsearch" type="submit" value=" ">
                    </form>
                </div>
            </div>
            <div id="headright">
                <a href="login.html" id="login">登录</a>
                <span>|</span>
                <a href="register.html" id="login">注册</a>
                <span id="loginName"></span>
                <button id="unregister" onclick="unregister()">注销</button>
            </div>
        </div>
        <div id="bodynav">
            <div id="nav">
                <ul>
                    <li><a href="shouye.html">首页</a></li>
                    <li id="secondnav"><a href="#">套餐</a>
                        <div id="choose">
                            <dl id="pep">
                                <dd>人数</dd>
                                <dd><a href="meetmenu2-3.html">2-3人</a></dd>
                                <dd><a href="#">4-6人</a></dd>
                                <dd><a href="#">7-8人</a></dd>
                            </dl>
                        </div>
                    </li>
                    <li id="down"><a href="#">健康饮食 </a>
                        <div id="updown">
                            <dl id="up">
                                <dd><a href="">人体群众</a></dd>
                                <dd><a href="laoren.html">老人</a></dd>
                                <dd><a href="">孕妇</a></dd>
                                <dd><a href="">青少年</a></dd>
                            </dl>
                        </div>
                    </li>

                    <li><a href="fenxiangjiemian.html">分享圈</a></li>
                    <li><a href="contactus.html">联系我们</a></li>
                </ul>
            </div>
        </div>
        <div id="main">
            <div id="foods">
                <div id="searchNum">
                    <p>共<span>68</span>个搜索结果》》</p>
                </div>
                <ul id="foodsList"></ul>
                <ul id="pagesList"></ul>
            </div>
        </div>
    </div>
</body>

</html>